<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>User Login</title>
</head>

<body>
<h3>USER LOGIN</h3>
<hr/>
<h4><font color="red"><%=request.getAttribute("error")%></font></h4>
<form action="<%=request.getContextPath()%>/login.do" method="post">
	<table border="1">
		<tr>
			<th>UserName</th>
			<td>
				<input type="text" name="username" required="required"/>
			</td>
		</tr>
		<tr>
			<th>Password</th>
			<td>
				<input type="password" name="password" required="required"/>
			</td>
		</tr>
		<tr>
			<td colspan="2" align="center">
				<input type="submit" value="Login"/>
				<input type="reset" value="Reset"/>
			</td>
		</tr>
	</table>
	<br/>
</form>
</body>
</html>